From 338001ae483c2edcfc3e7f3284010a0815bc75df Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sat, 30 Oct 2010 23:09:14 +0900 Subject: [PATCH] Fixing typo in scrolled window Seems with GtkScrollable interface we were setting the hadjustment as the vadjustment, thanks to Cosimo Cecchi who debugged this and finally found the typo. --- gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 87a388b173..4b00ad2e43 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -582,7 +582,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window, child = gtk_bin_get_child (bin); if (GTK_IS_SCROLLABLE (child)) - gtk_scrollable_set_vadjustment (GTK_SCROLLABLE (child), hadjustment); + gtk_scrollable_set_hadjustment (GTK_SCROLLABLE (child), hadjustment); g_object_notify (G_OBJECT (scrolled_window), "hadjustment"); } -- 2.30.2